package com.donn.securitycontrolplatform.dangerousgood.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.donn.securitycontrolplatform.common.Result;
import com.donn.securitycontrolplatform.dangerousgood.entity.TStorage;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-19
 */
public interface ITStorageService extends IService<TStorage> {

    Result insertStorage(TStorage storage);

    Result updateStorage(TStorage storage);

    Result deleteStorage(String storageId);

    Result getStorageById(String storageId);

    Result getLastWeekStorageInfo();

    Result selectExplosiveList(String name, LocalDateTime startTime, LocalDateTime endTime, Page page);

    Result getCurrentMonthExplosiveStorageInfo();
}
